package com.example.shopping.service;

import com.baomidou.mybatisplus.extension.service.IService;

import com.example.shopping.pojo.domain.FavorBean;
import com.example.shopping.pojo.vo.GoodsVo;

import java.util.List;

/**
 * @author Dream
 * @version 1.0
 * @date 2020/11/9 11:55
 */
public interface FavorService extends IService<FavorBean> {
    /**
     * 查询收藏夹商品
     * @param userXh
     * @return
     */
    List<GoodsVo> getByxh(String userXh);

    /**
     * 添加到收藏夹
     * @param favorBean
     */
    String addFavor(FavorBean favorBean);
}
